package data

import (
	"context"

	"user/internal/biz"

	"github.com/go-kratos/kratos/v2/log"
)

type userRepo struct {
	data *Data
	log  *log.Helper
}

func NewUserRepo(data *Data, logger log.Logger) biz.UserRepo {
	return &userRepo{
		data: data,
		log:  log.NewHelper("data/greeter", logger),
	}
}

func (r *userRepo) GetUser(context.Context, int64) (*biz.User, error) {
	return nil, nil
}

func (r *userRepo) GetUsers(context.Context, interface{}) ([]biz.User, error) {
	return nil, nil
}

func (r *userRepo) CreateUser(context.Context, *biz.User) error {
	return nil
}

func (r *userRepo) UpdateUser(context.Context, *biz.User) error {
	return nil
}
func (r *userRepo) DeleteUser(context.Context, *biz.User) error {
	return nil
}
